package com.hex.ds.hdtp.core.app.sdm.converter;

import com.hex.ds.hdtp.core.app.sdm.dto.request.SdmConvertTaskRequestDto;
import com.hex.ds.hdtp.core.app.sdm.dto.response.SdmConvertTaskResponseDto;
import com.hex.ds.hdtp.core.inf.sdm.po.SdmConvertTaskPo;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface ISdmConvertTaskConverter {

    SdmConvertTaskPo toSdmConvertTaskPo(SdmConvertTaskRequestDto sdmConvertTaskRequestDto);

    List<SdmConvertTaskResponseDto> toScriptConvertTaskResponseDtoList(List<SdmConvertTaskPo> SdmConvertTaskPos);

}
